import request from "@/utils/request";

export const getPage = (pageNo, pageSize, search) => {
  const { date, code, start, end } = search;
  return request.post("/daily-train/train-ticket/page", {
    pageNo,
    pageSize,
    date,
    code,
    start,
    end
  });
};